package top.caoayu.common.annatation;

import top.caoayu.common.validetor.CommonValidator;

import javax.validation.Constraint;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = CommonValidator.class)
public @interface CommonValidate {
    String message() default "";

}
